#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;

int main()
{
    freopen("in.txt", "r", stdin);
    //freopen("out.txt", "w", stdout);
    int a,b,h,t;
    cin>>t;
    while(t--)
    {
        cin>>a>>b>>h;
        double ans;
        ans=h/(double)a*b;
        printf("%.2lf\n",ans);
    }
    return 0;
}
